namespace UmSoft.SharePoint.Integration._1Cv77
{
    using System;
    using UmSoft.SharePoint.Integration._1Cv77;

    public class V7PeriodicConstant : V7Object
    {
        public V7PeriodicConstant(V7Object obj) : base(obj)
        {
        }
        public object GetValue(DateTime dateTime)
        {
            return this.InvokeMethod("Получить", new object[] { dateTime });

        }
        public void SetValue(DateTime dateTime, object value)
        {
            object obj;
            obj = value;
            if (obj is V7Object)
            {
                obj = (value as V7Object).Object;
            }
            base.InvokeMethod("Установить",
                new object[] {
                        dateTime,
                        obj});
        }
        public object this[DateTime date]
        {
            get
            {
                return this.GetValue(date);

            }
            set
            {
                SetValue(date, value);
            }
        }
    }
}
